<?php
/**
 * Created by PhpStorm.
 * User: aoc
 * Date: 2018/6/20
 * Time: 12:41
 */

namespace app\api\controller\v2\controller\order;


use think\Controller;

class Cart extends Controller
{
    public function Add()
    {
        if(request()->isPost())
        {
            //获取userid
            $post = request()->post();
            $user_id = $post('user_id');
            $num = $post('productnum');
            $data['Cart'] = $post;
        }


    }
}